class PendingApprovalEntity {
	List<PendingApprovalData> datas;

	PendingApprovalEntity({this.datas});

	PendingApprovalEntity.fromJson(List<dynamic> json) {
		if (json != null) {
			datas = new List<PendingApprovalData>();(json as List).forEach((v) { datas.add(new PendingApprovalData.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.datas != null) {
      data['datas'] =  this.datas.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class PendingApprovalData {
	String creatorUserId;
	String elongitude;
	dynamic biddingbatchid;
	String creationTime;
	String lastModificationTime;
	String destination;
	dynamic taskname;
	dynamic remark;
	dynamic deliverydate;
	String supplyname;
	dynamic typetotal;
	String warehouseouttype;
	dynamic total;
	bool isDeleted;
	String warehouseid;
	dynamic completetime;
	String id;
	String state;
	String department;
	String projectid;
	String erpno;
	String appointmentmode;
	String projectname;
	String supplierid;
	List<Null> taskDetailList;
	String lastModifierUserId;
	String departmentid;
	dynamic appointmentmodename;
	String applytime;
	String projectno;
	dynamic biddingbatches;
	double totalamount;
	dynamic driver;
	dynamic carno;
	dynamic phone;
	String tenantId;
	String taskno;
	String elatitude;
	String status;
	List<Null> imgList;

	PendingApprovalData({this.creatorUserId, this.elongitude, this.biddingbatchid, this.creationTime, this.lastModificationTime, this.destination, this.taskname, this.remark, this.deliverydate, this.supplyname, this.typetotal, this.warehouseouttype, this.total, this.isDeleted, this.warehouseid, this.completetime, this.id, this.state, this.department, this.projectid, this.erpno, this.appointmentmode, this.projectname, this.supplierid, this.taskDetailList, this.lastModifierUserId, this.departmentid, this.appointmentmodename, this.applytime, this.projectno, this.biddingbatches, this.totalamount, this.driver, this.carno, this.phone, this.tenantId, this.taskno, this.elatitude, this.status, this.imgList});

	PendingApprovalData.fromJson(Map<String, dynamic> json) {
		creatorUserId = json['creatorUserId'];
		elongitude = json['elongitude'];
		biddingbatchid = json['biddingbatchid'];
		creationTime = json['creationTime'];
		lastModificationTime = json['lastModificationTime'];
		destination = json['destination'];
		taskname = json['taskname'];
		remark = json['remark'];
		deliverydate = json['deliverydate'];
		supplyname = json['supplyname'];
		typetotal = json['typetotal'];
		warehouseouttype = json['warehouseouttype'];
		total = json['total'];
		isDeleted = json['isDeleted'];
		warehouseid = json['warehouseid'];
		completetime = json['completetime'];
		id = json['id'];
		state = json['state'];
		department = json['department'];
		projectid = json['projectid'];
		erpno = json['erpno'];
		appointmentmode = json['appointmentmode'];
		projectname = json['projectname'];
		supplierid = json['supplierid'];
		if (json['taskDetailList'] != null) {
			taskDetailList = new List<Null>();
		}
		lastModifierUserId = json['lastModifierUserId'];
		departmentid = json['departmentid'];
		appointmentmodename = json['appointmentmodename'];
		applytime = json['applytime'];
		projectno = json['projectno'];
		biddingbatches = json['biddingbatches'];
		totalamount = json['totalamount'];
		driver = json['driver'];
		carno = json['carno'];
		phone = json['phone'];
		tenantId = json['tenantId'];
		taskno = json['taskno'];
		elatitude = json['elatitude'];
		status = json['status'];
		if (json['imgList'] != null) {
			imgList = new List<Null>();
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['creatorUserId'] = this.creatorUserId;
		data['elongitude'] = this.elongitude;
		data['biddingbatchid'] = this.biddingbatchid;
		data['creationTime'] = this.creationTime;
		data['lastModificationTime'] = this.lastModificationTime;
		data['destination'] = this.destination;
		data['taskname'] = this.taskname;
		data['remark'] = this.remark;
		data['deliverydate'] = this.deliverydate;
		data['supplyname'] = this.supplyname;
		data['typetotal'] = this.typetotal;
		data['warehouseouttype'] = this.warehouseouttype;
		data['total'] = this.total;
		data['isDeleted'] = this.isDeleted;
		data['warehouseid'] = this.warehouseid;
		data['completetime'] = this.completetime;
		data['id'] = this.id;
		data['state'] = this.state;
		data['department'] = this.department;
		data['projectid'] = this.projectid;
		data['erpno'] = this.erpno;
		data['appointmentmode'] = this.appointmentmode;
		data['projectname'] = this.projectname;
		data['supplierid'] = this.supplierid;
		if (this.taskDetailList != null) {
      data['taskDetailList'] =  [];
    }
		data['lastModifierUserId'] = this.lastModifierUserId;
		data['departmentid'] = this.departmentid;
		data['appointmentmodename'] = this.appointmentmodename;
		data['applytime'] = this.applytime;
		data['projectno'] = this.projectno;
		data['biddingbatches'] = this.biddingbatches;
		data['totalamount'] = this.totalamount;
		data['driver'] = this.driver;
		data['carno'] = this.carno;
		data['phone'] = this.phone;
		data['tenantId'] = this.tenantId;
		data['taskno'] = this.taskno;
		data['elatitude'] = this.elatitude;
		data['status'] = this.status;
		if (this.imgList != null) {
      data['imgList'] =  [];
    }
		return data;
	}
}
